using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace moDb_tests.Stubs
{
    public class StubDbConnection :IDbConnection
    {
        #region IDbConnection Members

        public IDbTransaction BeginTransaction(IsolationLevel il)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public IDbTransaction BeginTransaction()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void ChangeDatabase(string databaseName)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public void Close()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public string ConnectionString
        {
            get
            {
                throw new Exception("The method or operation is not implemented.");
            }
            set
            {
                throw new Exception("The method or operation is not implemented.");
            }
        }

        public int ConnectionTimeout
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        public IDbCommand CreateCommand()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public string Database
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        public void Open()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        public ConnectionState State
        {
            get { throw new Exception("The method or operation is not implemented."); }
        }

        #endregion

        #region IDisposable Members

        public void Dispose()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        #endregion
    }
}
